window.onload=function (){
    //do something....
}